package com.xinyou.u8c.controller;


import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xinyou.u8c.entity.ImportLog;
import com.xinyou.u8c.entity.Sbmj;
import com.xinyou.u8c.entity.VouchPagination;
import com.xinyou.u8c.result.JsonResult;
import com.xinyou.u8c.service.ISbmjService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author chq
 * @since 2023-09-15
 */
@RestController
@RequestMapping("/u8c/sbmj")
public class SbmjController {
    @Autowired
    private ISbmjService sbmjService;

    @PostMapping("/getList")
    public JsonResult getList() {
        return new JsonResult(true, sbmjService.list());
    }

}
